package com.fdb.efp.flow.service.facade;

import java.util.List;

import com.fdb.efp.flow.service.vo.BizFlowProcessVO;

/**
 * <p>Description:业务流转过程配置				<p>
 * @author ligm
 * @date 2018-05-05
 */
public interface BizFlowProcessService {
	
	public List<BizFlowProcessVO> queryAllOwner(BizFlowProcessVO bizFlowProcessVo);
	
	public List<BizFlowProcessVO> queryAllCurrOrg(BizFlowProcessVO bizFlowProcessVo);
	
	public List<BizFlowProcessVO> queryAllCurrDownOrg(BizFlowProcessVO bizFlowProcessVo);
	
	public int insertBizFlowProcess(BizFlowProcessVO inBizFlowProcessVo);
	
	public int deleteByPk(BizFlowProcessVO bizFlowProcessVo);
	
	public int updateByPk(BizFlowProcessVO bizFlowProcessVo);
	
	public BizFlowProcessVO queryByPk(BizFlowProcessVO bizFlowProcessVo);
	
	public BizFlowProcessVO queryFirstByEventAndNodeId(BizFlowProcessVO bizFlowProcess);
	
	public BizFlowProcessVO queryDefaultByEventAndFlowId(BizFlowProcessVO bizFlowProcess);
	
	/**
	 * 查询流转配置中事件下配置的所有节点
	 * @param bizFlowProcess
	 * @return
	 */
	public List<BizFlowProcessVO> queryAllByEventIdAndFlowId(BizFlowProcessVO bizFlowProcess);

}
